<!-- 融资管理 -->
<template>
  <div>
    <a-tabs v-model="tab">
      <a-tab-pane :key="1" tab="融资申请"></a-tab-pane>
      <a-tab-pane :key="2" tab="放款列表"></a-tab-pane>
      <a-tab-pane :key="3" tab="账单上传"></a-tab-pane>
    </a-tabs>
    <div v-if="tab===1">
      <LoanApplication></LoanApplication>
    </div>
    <div v-if="tab===2">
      <LoanList></LoanList>
    </div>
    <div v-if="tab===3">
      <BillUpload></BillUpload>
    </div>
  </div>
</template>
<script>
import LoanApplication from './LoanApplication.vue'
import LoanList from './LoanList.vue'
import BillUpload from './BillUpload.vue'
export default {
   components: {
    LoanApplication, LoanList, BillUpload
  },
  data () {
    return {
      tab: 1
    }
  },
  methods: {
    search () {
      this.$refs.page.search()
    }
  }
}
</script>

<style lang="scss" scoped>
</style>
